#first
a = (1,2,3)
b = list(a)
b[0] = 5
a = tuple(b)
print a

#second
c = (1,2,3)
d = a[1:3]
d = list(d)
d.insert(0,5)
c = tuple(b)
print c

if 2 in c:
    print "exist"
else:
    print "not exist"

e = set(['a','b','c'])
e.add('jay')
print e

f = set(['b','e','f','g'])
g = e | f
print g

h = f & e
f.remove('b')
k = e | f
print k



